<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>极速翻译官</title>
  <style>
    body{
      margin: 0;
    }
    div{
      box-sizing: border-box;
    }
    .activity-dialog{
      position: relative;
      width: 100%;
      height: 100vh;
      border-radius: 10px;
      background: url('./static/activity/bg1.png') 0 0 no-repeat;
      background-size: 100% auto;
    }
    .activity-header{
      padding: 12px 0 0 16px;
      height: 52px;
      width: 100%;
      box-sizing: border-box;
    }
    .logo{
      display: flex;
      align-items: center;
    }
    .xzdesktop {
      margin-right: 6px;
      width: 16px;
      height: 16px;
    }
    .xzdesk{
      font-size: 12px;
      font-weight: 400;
      color: #333;
    }
    .close{
      position: absolute;
      right: 14px;
      top: 12px;
      width: 16px;
      height: 16px;
      cursor: pointer;
    }
    .activity-body{
      height: 152px;
    }
    .join{
      position: absolute;
      left: 8%;
      top: 74%;
      width: 140px;
      height: 40px;
      cursor: pointer;
    }
    .center{
      margin: 24px 0 25px;
      display: flex;
      justify-content: center;
    }
    .gold{
      position: absolute;
      top:0;
      right:40px;
      width: 50px;
      height: 35px;
    }
  </style>
</head>
<body>
  <div class="activity-dialog">
    <div class="activity-header">
      <div class="logo">
        <img src="./static/right-info/xzdesktop.svg" class="xzdesktop" alt="极速翻译官">
        <div class="xzdesk">极速翻译官</div>
      </div>
      <img src="./static/right-info/close.svg" alt="" class="close" onclick="closePage()">
    </div>
    <div class="activity-body">

    </div>
    <div class="center">
      <div class="join" onclick="renew()"></div>
    </div>
  </div>
  <script src="./static/js/base.js"></script>
  <script>
    reportInfoApi(6)
    function closePage(){
      reportInfoApi(8)
      invokeAPi("jsMsg_SetWndStatus", 0, true);
    }
    function renew(){

      invokeAsyncAPi('fq_CreateWindow', {
        wnd_name: '极速翻译官',
        url: 'http://usercenter-tstranslator.xiangtatech.com/check-install',
        local_res: false,
        size: {
          cx: 490,
          cy: 296
        },
      }).then(res => {
        invokeAPi("jsMsg_SetWndStatus", 0, true);
      })

    }
  </script>
</body>
</html>
